﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;
using Mmht.BT;

public partial class jxzy_zxlx : BasePage
{
    GetTerminology gt = new GetTerminology();
    Mmht.BT.GetSteelname gs = new GetSteelname();

    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["type"] == null)
        {
            Response.Redirect("login.aspx");
            return;
        }
        controlRepeater();
    }

    private void controlRepeater()
    {
        controlRepeater1();
        controlRepeater2();
        controlRepeater3();
    }

    private void controlRepeater1()
    {
        DataTable dt_blank = new DataTable();
        dt_blank = gt.getBlank();
        Repeater1.DataSource = dt_blank;
        Repeater1.DataBind();
    }

    private void controlRepeater2()
    {
        DataTable dt_choice = new DataTable();
        dt_choice = gt.getChoice();
        Repeater2.DataSource = dt_choice;
        Repeater2.DataBind();  
    }

    private void controlRepeater3()
    {
        DataTable dt_close = new DataTable();
        dt_close = gs.getClose();
        Repeater3.DataSource = dt_close;
        Repeater3.DataBind();
    }
   
}
